package com.huilian.iotbox.data.dao;

import com.huilian.iotbox.data.dto.CommodityPurchaseRestrictionRecordDto;

/**
 * @author LinYinDong
 * @date 2024/1/22 14:20
 */
public interface CommodityPurchaseRestrictionRecordCommonDao {
    Integer getCommodityPurchaseRestrictionRecordByMemberIdCount(CommodityPurchaseRestrictionRecordDto commodityPurchaseRestrictionRecordDto);

    Integer insert(CommodityPurchaseRestrictionRecordDto commodityPurchaseRestrictionRecordDto);

    /**
     * 修改CommodityPurchaseRestrictionRecord的status
     */
    Integer updateCommodityPurchaseRestrictionRecordStatus(CommodityPurchaseRestrictionRecordDto commodityPurchaseRestrictionRecordDto);
}
